/**
 * 
 */
package cre.sample.test.thread;

/**
 * @author Cre.Gu
 *
 */
public class OneValueCache {
	private String key;
	private String value;

	public OneValueCache(String key, String value) {
		this.key = key;
		this.value = value;
	}

	public String get(String key) {
		if (key.equals(this.key)) {
			return value;
		}
		return null;
	}

}
